<?php

use Illuminate\Database\Seeder;

class UserTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
        DB::table('users')->insert([
            [
                'name'=>'张三',
                'age'=>'19',
                'email'=>'abcdefg@qq.com',
                'password'=>'123456',
                'is_delete'=>'0',
                'created_at'=>date('Y-m-d H:i:s',time()),
                'updated_at'=>date('Y-m-d H:i:s',time()),
                'deleted_at'=>date('Y-m-d H:i:s',time()),
            ],
            [
                'name'=>'李四',
                'age'=>'18',
                'email'=>'123456@qq.com',
                'password'=>'123456',
                'is_delete'=>'0',
                'created_at'=>date('Y-m-d H:i:s',time()),
                'updated_at'=>date('Y-m-d H:i:s',time()),
                'deleted_at'=>date('Y-m-d H:i:s',time()),
            ],
            [
                'name'=>'王五',
                'age'=>'17',
                'email'=>'abc123@qq.com',
                'password'=>'123456',
                'is_delete'=>'0',
                'created_at'=>date('Y-m-d H:i:s',time()),
                'updated_at'=>date('Y-m-d H:i:s',time()),
                'deleted_at'=>date('Y-m-d H:i:s',time()),
            ],
        ]);
    }
}
